<style lang="scss" scoped>
  .alert {

  }
</style>

<template lang="pug">
  .alert
    mu-alert(color="alert.color" delete v-if="alert.show" @delete="$emit('click')")
      mu-icon(left :value="alert.success") {{alert.message}}
</template>

<script>
  import {mapState, mapGetters, mapMutations} from 'vuex'

  export default {
    name: "alert",
    props: [ 'alert' ],
    data() {
      return {}
    },
    computed: {
      ...mapState([]),
      ...mapGetters([]),

    },
    methods: {
      ...mapMutations([]),

    },
    created() {

    },
    mounted() {

    }
  }
</script>

